@import '@/app/styles/variables';

.wrapper {
  text-align: center;
  margin-top: 200px;
}

.flex {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
}

.block {
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000;

  display: flex;
  flex-direction: column;

  &:first-child {
    background-image: url('../../images/vector-pregnant.svg');
  }

  &:last-child {
    background-image: url('../../images/vector-companyName.svg');
    background-position-x: -5px;
    background-position-y: 60px;
  }
}

.desc {
  max-width: 272px;
  align-self: center;
  margin-top: 20px;
  margin-bottom: 80px;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@include media(md) {
  .block:last-child {
    background-position-x: -80px;
    background-position-y: 75px;
  }
}

@include media(sm) {
  .wrapper {
    margin-top: 150px;
  }

  .flex {
    gap: 40px;
    margin-top: 60px;
  }

  .img {
    height: 350px;
  }

  .block:first-child {
    background-position-x: -110px;
  }

  .block:last-child {
    background-position-x: -160px;
    background-position-y: 35px;

    .img {
      object-position: 30%;
    }
  }
}

@include media(xs) {
  .wrapper {
    margin-top: 60px;
  }

  .img {
    height: 350px;
  }

  .flex {
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .desc {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .block:first-child {
    background-position-x: -30px;
    background-position-y: -15px;
  }

  .block:last-child {
    background-position-x: -135px;
    background-position-y: 27px;
  }
}